package com.youbff.task.constant;

public interface Constant {
    /** leader key .*/
    static String leader_key = "youbff_cluster_leader_key_";
    /** leader info key .*/
    static String leader_info_key="youbff_cluster_leader_info_key_";
    /** 选举锁 .*/
    static String leader_vote_lock_key="youbff_leader_vote_lock_";
    /** 集群客户端key缓存Map&lt;String:serName,Objecct:serObject&gt; .*/
    static String client_info_cache_key="youbff_client_info_cache_key_";
    /** 集群客户端heartbeat缓存Map&lt;String:serName,Long:hearbeatTime&gt; .*/
    static String client_heartbeat_cache_key="youbff_client_heartbeat_cache_key_";
    /** 心跳url .*/
    static String heartbeat_url="/leader/heartbeat";
}
